package com.zygh.lz.service;

import com.zygh.lz.entity.duty.DutyModel;
import com.zygh.lz.entity.duty.DutyPost;
import com.zygh.lz.vo.ResultBean;

/**
 * @author lee
 */
public interface DutyService {
    ResultBean model(DutyModel dutyModel);

    ResultBean post(DutyPost dutyPost);

    ResultBean postAdd(DutyPost dutyPost);

    ResultBean modelAdd(DutyModel dutyModel);

    ResultBean postUpdate(DutyPost dutyPost);

    ResultBean modelUpdate(DutyModel dutyModel);

    ResultBean postDelete(DutyPost dutyPost);

    ResultBean modelDelete(DutyModel dutyModel);

    ResultBean modelByPostCode(Integer postCode);

    ResultBean postAll(DutyPost dutyPost);

    ResultBean postId(DutyPost dutyPost);

    ResultBean findDutyModeAll();
}
